<%--
说明：用户凭证-申请静态口令页面

@author liuxun 2012-03-17
--%>
<%@ include file="../../common/common.jsp"%>
<%
	response.setHeader("Pragma", "No-cache");
	response.setHeader("Cache-Control", "no-cache");
	response.setDateHeader("Expires", 0);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />

<title>申请静态口令</title>
<script src="jsp/usrcredence/b_usr_credence/b_usr_credence_apply_static_pwd.js" type="text/javascript" charset="UTF-8"></script>
</head>

<body>

  <form id="opeForm" name="opeForm" method="post" action="">
    <%-- 操作类型 0录入 1修改 --%>
    <input type="hidden" id="operationType" name="operationType" value="${operationType}" /> 
    <input type="hidden" id="usr_id" name="usr.usr_id" value="${usr.usr_id}" />	
	<input type="hidden" id="is_static_create_or_update" name="usr.is_static_create_or_update" value="${usr.is_static_create_or_update}"/>
	
    <table style="width: 100%; height: 100%" border="0" cellpadding="0" cellspacing="0" class="editDisplay">
      <tr>
        <td valign="top">
          <%--编辑页面名称标题表格--%>
          <table style="width: 100%" border="0" cellpadding="0" cellspacing="0" class="editCaption">
            <tr>
              <td height="30">&nbsp;</td>
            </tr>
            <tr>
              <td align="center"><font class="editCaptionTitle">静态口令</font>
              </td>
            </tr>
            <tr>
              <td height="5"></td>
            </tr>
          </table> <%--编辑部分表格--%>
          <table border="0" align="center" cellpadding="0" cellspacing="0" class="editTableBorder">
            <tr>
              <td>
                <table border="0" align="center" cellpadding="0" cellspacing="0" class="editMainTable">
                  <tr>
                    <td style="height: 40px;" colspan="2" class="editMainConstLabelTD">&nbsp;</td>
                  </tr>

                  <tr>
                    <td class="editMainLabelTD" align="right" style="width: 40%;">统一登录名：&nbsp;</td>
                    <td class="editMainTD" align="left" nowrap="nowrap">${usr.login_name}</span></td>
                  </tr>

                  <tr>
                    <td class="editMainLabelTD" align="right" style="width: 40%;">用户姓名：&nbsp;</td>
                    <td class="editMainTD" align="left" nowrap="nowrap">${usr.usr_name}</td>
                  </tr>

                  <tr>
                    <td class="editMainLabelTD" align="right" style="width: 40%;">密码发放形式：&nbsp;</td>
                    <td class="editMainTD" align="left" nowrap="nowrap">
                    	<ext:select id="release_form" name="usr.release_form" cachetype="P_TYPE_VALUE" nameprop="type_value_name" valueprop="type_value_code" condnames="type_code" condvalues="119" initvalue="${usr.release_form}" style="width:150px" orderby="type_value_code" cannull="1" event="onchange='changeReleaseForm()'" /> &nbsp;<span><font color="red">*</font> </span>
                    </td>
                  </tr>

                  <tr id="static_pwd_md5TR">
                    <td class="editMainLabelTD" align="right" style="width: 40%;">静态口令：&nbsp;</td>
                    <td class="editMainTD" align="left" nowrap="nowrap">
                      <span id="pass">
                      	<input type="password" id="static_pwd_md5" name="usr.static_pwd_md5" validType="maxLength[50]" class="easyui-validatebox  editMainText" value="${usr.static_pwd_md5}" />&nbsp;
                      </span><span><font color="red">*</font> </span>
                      <INPUT TYPE="checkbox" id="showPass" onclick="static_pwd_md5Change()">显示字符(H)
                      
                    </td>
                  </tr>
				  
                  <tr>
                    <td class="editMainLabelTD" align="right" style="width: 40%;">是否长期有效：&nbsp;</td>
                    <td class="editMainTD" align="left" nowrap="nowrap"><select id="is_long_term" name="usr.is_long_term" style="width: 150px" onchange="changeIsLongTerm()">
                        <option value="1" <c:if test="${usr.is_long_term==1}">selected</c:if>>是</option>
                        <option value="0" <c:if test="${usr.is_long_term==0}">selected</c:if>>否</option>
                    </select> &nbsp;<span><font color="red">*</font> </span>
                    </td>
                  </tr>
                  
                  <tr id="effect_timeTR">
                    <td class="editMainLabelTD" align="right" style="width: 40%;">生效时间：&nbsp;</td>
                    <td class="editMainTD" align="left" nowrap="nowrap"><input type="text" id="effect_time" readonly="readonly" name="usr.effect_time" required=""  value="${usr.effect_time}" class="easyui-validatebox  editMainText" maxlength=19 /> <img src="<c:url value="/images/datetimepicker_css/cal.gif" />" onclick="javascript:NewCssCal ('effect_time','yyyyMMdd','dropdown',true,'24',true,'future')" style="cursor: pointer" />&nbsp;<span><font color="red">*</font></td>
                  </tr>
                  
                  <tr id="expire_timeTR">
                    <td class="editMainLabelTD" align="right" style="width: 40%;">失效时间：&nbsp;</td>
                    <td class="editMainTD" align="left" nowrap="nowrap"><input type="text" id="expire_time" readonly="readonly" name="usr.expire_time" required="" validType="" class="easyui-validatebox  editMainText" value="${usr.expire_time}" maxlength=19 /> <img src="<c:url value="/images/datetimepicker_css/cal.gif" />" onclick="javascript:NewCssCal ('expire_time','yyyyMMdd','dropdown',true,'24',true,'future')" style="cursor: pointer" />&nbsp;<span><font color="red">*</font></td>
                  </tr>

	              <tr>
	                    <td class="editMainConstTD" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;密码规则：
	                    	数字：&nbsp;${d_pwd_policy.number_count} &nbsp;位，
	                    	大写字母：&nbsp;${d_pwd_policy.upper_count} &nbsp;位，
	                    	小写字母：&nbsp;${d_pwd_policy.lower_count} &nbsp;位，
	                    	特殊字符：&nbsp;${d_pwd_policy.special_count} &nbsp;位，
	                    	&nbsp;&nbsp;密码最大长度：&nbsp;${d_pwd_policy.max_length} &nbsp;位
	                    	 	                    	 
	                    </td>
	              </tr> 	
	              <tr>
	                    <td class="editMainConstTD" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;数字包含：${model.number_seed }   </td>
	              </tr> 	              
	              <tr>
	                    <td class="editMainConstTD" colspan="2">&nbsp;&nbsp;大写字母包含：${model.upper_seed }   </td>
	              </tr> 	              
	              <tr>
	                    <td class="editMainConstTD" colspan="2">&nbsp;&nbsp;小写字母包含：${model.lower_seed }    </td>
	              </tr> 
	              <tr>
	                    <td class="editMainConstTD" colspan="2">&nbsp;&nbsp;特殊字符包含：${model.special_seed }    </td>
	              </tr> 
                  <tr>
                    <td class="editMainConstTD" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;说明：带<span><font color="red">*</font> </span>的项目是必须填写项</td>
                  </tr>
                  <tr>
                    <td style="height: 40px;" colspan="2" class="editMainConstLabelTD">&nbsp;</td>
                  </tr>
                  <tr>
                    <td colspan="2" class="editMainBottomTD">&nbsp;
                      <div style="text-align: center; padding: 5px;">
                        <a href="javascript:void(0)" id="okBtn" icon="icon-save" class="easyui-linkbutton">保存</a> <a href="javascript:void(0)" id="cancelBtn" icon="icon-cancel" class="easyui-linkbutton">取消</a>
                      </div></td>
                  </tr>
                </table></td>
            </tr>
          </table></td>
      </tr>
    </table>

	<iframe name="hideWindow" src="about:blank" scrolling="auto" marginheight="0" marginwidth="0" style="WIDTH:0px; HEIGHT:0px"></iframe>          
        
  </form>

</body>
</html>